﻿using System;
using System.Collections.Generic;

namespace RakutenProxy.Model.Rakuten
{
    public class Manufacturer : IEquatable<Model.NopCommerce.Manufacturer>
    {
        public int ManufacturerId { get; set; }

        public string ManufacturerName { get; set; }

        public string ManufacturerUrl { get; set; }

        public virtual ICollection<Product> Products { get; set; }

        public bool Equals(NopCommerce.Manufacturer other)
        {
            return this.ManufacturerName.Equals(other.Name);
        }
    }
}